/*
 * @Descripttion: 
 * @version: 
 * @Author: dudu
 * @Date: 2020-02-21 10:08:25
 * @LastEditors  : dudu
 * @LastEditTime : 2020-02-21 11:23:40
 */
// 根节点转为key
export const defaultToString = (node) => {
    return node.element.name
}

// 判断节点是否存在
export const defaultEquals = (a, b) => {
    return a.name === b.name
}